package edu.mercer.sse.util;

/**
 * ExecResult representing success/failure of utility execution.<p>
 *
 * Provides Boolean result, evaluated from return code as defined in 
 * 	Configuration. Provides access to any output from execution.<p> 
 *
 */

public interface ExecutionResults 
{
	/**
	 * Get output from execution of utility application.<p>
	 * 
	 * @return  String containing output from command execution
	 */
	
	String getOutput();
	
	/**
	 * Get return code from execution of utility application.<p> 
	 * 
	 * @return  Integer representing return code from execution
	 */
	
	Integer getReturnCode();
	

	/**
	 * Determine success of execution.<p>
	 * 
	 * Analyze execution return code as per Configuration.<p>
	 * 
	 * @return  Boolean success or failure interpretation of return code
	 */
	
	Boolean success();

	
}//interface
